package stone;

public class IdToken extends Token {
    private String text;

    public IdToken(int lineNo, String m) {
        super(lineNo);
        text = m;
    }

    @Override
    public boolean isIdentifier() {
        return true;
    }

    @Override
    public String getText() {
        return text;
    }

    @Override
    public String getType() {
        return super.getType();
    }
}
